import { httpPost, httpGet } from "./index";
//是否登录
export const isLogin = () => httpPost("/login/status", {});
//获取生成二维码的key
export const getQrKey = () => httpPost("/login/qr/key", {});
//获取二维码
export const getQrCode = (key) => httpGet("/login/qr/create", { key });
//检查二维码是否扫描
export const checkQrCode = (key) => httpGet("/login/qr/check", { key });
//获取账号信息
export const getUserInfo = () => httpGet("/user/account");
